<template>
  <div>
    <div>标题 -- {{ count() }} -- {{ a }}</div>
    <desn />
  </div>
</template>

<script>
import desn from './desn.vue'
export default {
  components: {
    desn
  },
  // inject: ['count']
  inject: {
    count: { default: () => 0 },
    a: { default: 'aaaaaa' }
  }
}
</script>

<style lang="scss" scoped></style>
